From: Adrian Robert Date: Fri, 18 Sep 2009 23:36:29 +0000 (+0000) Subject: * nsfns.m (x-focus-frame): Activate the app first. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~10402 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=b0ecf8932cf6960b5c9b6a62fad5f1b99e558201;p=emacs.git * nsfns.m (x-focus-frame): Activate the app first. --- diff --git a/src/ChangeLog b/src/ChangeLog index 0a4d3afa075..8c0dc83afd5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -20,6 +20,7 @@ * nsfns.m (x_get_string_resource): Ape just-previous changes to other platform versions. Drop support for emacs-20-style face specs. (x-close-connection): Drop PSFlush() under OS X. + (x-focus-frame): Activate the app first. 2009-09-17 Juanma Barranquero diff --git a/src/nsfns.m b/src/nsfns.m index ab77a12b2ac..d6e1672b587 100644 --- a/src/nsfns.m +++ b/src/nsfns.m @@ -1365,6 +1365,7 @@ FRAME nil means use the selected frame. */) { EmacsView *view = FRAME_NS_VIEW (f); BLOCK_INPUT; + [NSApp activateIgnoringOtherApps: YES]; [[view window] makeKeyAndOrderFront: view]; UNBLOCK_INPUT; }